package com.zt.bus.line.inter;

import com.zt.bus.line.model.DiscountDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DiscountDetailMapper {
    int deleteByPrimaryKey(String id);

    int insert(DiscountDetail record);

    DiscountDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DiscountDetail record);

    int updateByPrimaryKey(DiscountDetail record);

    List<DiscountDetail> selectEnableByDiscountId(@Param("discountId") String discountId);
}
